package com.example.qxfw.nyqx.service;

import com.example.qxfw.mongodb.hy.entity.HyImageFile;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface NyqhService {

    /**
     * 获取区划图
     * @param qhClassName
     * @param qhType
     * @return
     */
    byte[] getQuhuatu(String qhClassName,String qhType);

    /**
     * 保存区划图
     * @param qhImage
     * @param qhClassName
     */
    HyImageFile saveQhImage(MultipartFile qhImage, String qhClassName, String qhType) throws IOException;
}
